package books4africa

import static org.junit.Assert.*
import org.junit.*

class InventoryListTests {

    void testPersistence(){
        //create a donor and save it in the database
        InventoryList test = new InventoryList(quantity: 265).save()
        
        InventoryList retrieved = InventoryList.findByQuantity(265);
        
        assertEquals(test, retrieved)
        
    }
}
